cmake_minimum_required(VERSION 3.8)
FILE (GLOB ALL_SOURCES "*.cpp" "*.c" "./src/*.cpp" "./src/*.c")
FILE (GLOB ALL_INCLUDES "*.hpp" "*.h" "./include/*.hpp"  "./include/*.h" )
project(SignalServer)
find_package(Threads)
add_executable(${PROJECT_NAME} ${ALL_SOURCES})
target_include_directories(${PROJECT_NAME} PRIVATE ${ALL_INCLUDES})
target_link_libraries(${PROJECT_NAME} ${CMAKE_THREAD_LIBS_INIT})